package cn.wolfcode.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
@ToString
public class CustomerTransfer {
    private Long id;

    /**
     * 客户
     */
    private Customer customer;
    /**
     * 操作者
     */
    private Employee operator;
    /**
     * 操作时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date operateTime;
    /**
     * 旧销售
     */
    private Employee oldSeller;
    /**
     * 新销售
     */
    private Employee newSeller;
    /**
     * 移交原因
     */
    private String reason;


}